[gd_scene load_steps=12 format=2]

[ext_resource path="res://MAIN.gd" type="Script" id=1]
[ext_resource path="res://viewport-ground.tres" type="Texture" id=2]
[ext_resource path="res://blur2.gdshader" type="Shader" id=3]
[ext_resource path="res://water_spawner.gd" type="Script" id=4]
[ext_resource path="res://potential_curve.tres" type="Curve" id=5]
[ext_resource path="res://ramp.gdshader" type="Shader" id=6]
[ext_resource path="res://towbg.png" type="Texture" id=7]
[ext_resource path="res://towfloor.png" type="Texture" id=8]

[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 3 )
shader_param/radius = 0.03

[sub_resource type="ViewportTexture" id=2]
viewport_path = NodePath("Viewport")

[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 6 )

[node name="MAIN" type="Node2D"]
script = ExtResource( 1 )
potential_curve = ExtResource( 5 )

[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 1024, 600 )
transparent_bg = true
disable_3d = true
usage = 0
render_target_update_mode = 3

[node name="Label" type="Label" parent="Viewport"]
visible = false
margin_right = 40.0
margin_bottom = 14.0
text = "332234234"

[node name="water_spawner" type="Node2D" parent="Viewport"]
script = ExtResource( 4 )

[node name="Viewport2" type="Viewport" parent="."]
size = Vector2( 1024, 600 )
transparent_bg = true
disable_3d = true
usage = 0
render_target_update_mode = 3

[node name="TextureRect" type="TextureRect" parent="Viewport2"]
material = SubResource( 1 )
margin_right = 40.0
margin_bottom = 40.0
texture = SubResource( 2 )

[node name="bg" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="floor" type="TextureRect" parent="."]
margin_top = 540.0
margin_right = 1024.0
margin_bottom = 600.0
texture = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TextureRect" type="TextureRect" parent="."]
material = SubResource( 3 )
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 2 )
flip_v = true
__meta__ = {
"_edit_use_anchors_": false
}
